package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeAccount;
import sanshui.system.trade.db.entity.TradeAccountExample;

public interface TradeAccountMapper {
    long countByExample(TradeAccountExample example);

    int deleteByExample(TradeAccountExample example);

    int deleteByPrimaryKey(Long accId);

    int insert(TradeAccount record);

    int insertSelective(TradeAccount record);

    List<TradeAccount> selectByExampleWithRowbounds(TradeAccountExample example, RowBounds rowBounds);

    List<TradeAccount> selectByExample(TradeAccountExample example);

    TradeAccount selectByPrimaryKey(Long accId);

    int updateByExampleSelective(@Param("record") TradeAccount record, @Param("example") TradeAccountExample example);

    int updateByExample(@Param("record") TradeAccount record, @Param("example") TradeAccountExample example);

    int updateByPrimaryKeySelective(TradeAccount record);

    int updateByPrimaryKey(TradeAccount record);
}